- settings_view = vscode_extension_marketplace_settings_view

- return unless settings_view

= render ::Layouts::SettingsBlockComponent.new(settings_view[:title], id: 'js-extension-marketplace-settings') do |component|
  - component.with_description do
    = settings_view[:description]
    = link_to sprite_icon('question-o'),
        help_page_path('administration/settings/vscode_extension_marketplace.md'),
        aria: { label: _('VS Code Extension Marketplace') },
        class: 'has-tooltip',
        title: _('More information')
  - component.with_body do
    #js-extension-marketplace-settings-app{ data: { view_model: settings_view[:view_model].to_json } }
